# Dockerfile
FROM 192.168.18.1:5000/oraclejdk:1.8.0_151

LABEL maintainer="lixl@sysware.com.cn"

ARG TOMCAT_HOME=/apache-tomcat-8.5.47

RUN mkdir ${TOMCAT_HOME}
ADD ${TOMCAT_HOME} ${TOMCAT_HOME}

ENV TOMCAT_HOME ${TOMCAT_HOME}

EXPOSE 8080/tcp

ENTRYPOINT $TOMCAT_HOME/bin/startup.sh && tail -f $TOMCAT_HOME/logs/catalina.out